	//手机号验证
	function isPoneAvailable(phoneNumber) {
		var myreg = /^[1][3,4,5,7,8][0-9]{9}$/;
		if (!myreg.test(phoneNumber)) {
			return false;
		} else {
			return true;
		}
	}


	// 用户输入信息提示显示
	function waringinfo(waringid, id, msg) {
		// $('#' + id).attr("autofocus", "autofocus");
		$('#' + id).focus();
		$("#" + waringid).css("display", "block");
		$("#" + waringid).html(msg);
		setTimeout(() => {
			$("#" + waringid).css("display", "none");
		}, 1100);
	}

	// 用户信息提示隐藏
	function hiddeninfo(id) {
		$("#" + id).css("display", "none");
	}

	// 获取其他页面跳转传递的参数
	function GetRequest() {
		var url = location.search; //获取url中"?"符后的字串
		var theRequest = new Object();
		if (url.indexOf("?") != -1) {
			var str = url.substr(1);
			strs = str.split("&");
			for (var i = 0; i < strs.length; i++) {
				theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
			}
		}
		return theRequest;
	}

	function getQueryString(name) { 
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); 
		var r = window.location.search.substr(1).match(reg); 
		if (r != null) return unescape(r[2]); return null; 
		} 

	// 时间格式化
	function time(mm) {
		Date.prototype.toLocaleString = function () {
			return (
				this.getFullYear() +
				"-" +
				(this.getMonth() + 1) +
				"-" +
				this.getDate()
			);
		};
		var unixTimestamp = new Date(mm);
		var commonTime = unixTimestamp.toLocaleString();
		return commonTime;
	};